package com.beiye.drivertransport.bean;

import java.util.List;

/**
 * Copyright (C)
 * FileName: TrainingIndvPriceFindBean
 * Author: 刘学章
 * Date: 2020/11/2 13:30
 * Description: 可购买的会员方案列表
 */
public class TrainingIndvPriceFindBean {

    /**
     * result : true
     * data : null
     * msg : 查询成功
     * rows : [{"sn":25,"ptype":1,"adId":"500000","channelId":null,"monthNo":1,"price":12,"orgId":null,"userId":null,"resultCode":null},{"sn":29,"ptype":1,"adId":"500000","channelId":null,"monthNo":6,"price":45,"orgId":null,"userId":null,"resultCode":null},{"sn":31,"ptype":1,"adId":"500000","channelId":null,"monthNo":9,"price":108.4,"orgId":null,"userId":null,"resultCode":null}]
     * total : null
     * code : 0
     */

    private boolean result;
    private Object data;
    private String msg;
    private Object total;
    private int code;
    private List<RowsBean> rows;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * sn : 25
         * ptype : 1
         * adId : 500000
         * channelId : null
         * monthNo : 1
         * price : 12
         * orgId : null
         * userId : null
         * resultCode : null
         */

        private int sn;
        private int ptype;
        private String adId;
        private Object channelId;
        private int monthNo;
        private double price;
        private Object orgId;
        private Object userId;
        private Object resultCode;
        private boolean isChecked;


        public boolean isChecked() {
            return isChecked;
        }

        public void setChecked(boolean checked) {
            isChecked = checked;
        }

        public int getSn() {
            return sn;
        }

        public void setSn(int sn) {
            this.sn = sn;
        }

        public int getPtype() {
            return ptype;
        }

        public void setPtype(int ptype) {
            this.ptype = ptype;
        }

        public String getAdId() {
            return adId;
        }

        public void setAdId(String adId) {
            this.adId = adId;
        }

        public Object getChannelId() {
            return channelId;
        }

        public void setChannelId(Object channelId) {
            this.channelId = channelId;
        }

        public int getMonthNo() {
            return monthNo;
        }

        public void setMonthNo(int monthNo) {
            this.monthNo = monthNo;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public Object getOrgId() {
            return orgId;
        }

        public void setOrgId(Object orgId) {
            this.orgId = orgId;
        }

        public Object getUserId() {
            return userId;
        }

        public void setUserId(Object userId) {
            this.userId = userId;
        }

        public Object getResultCode() {
            return resultCode;
        }

        public void setResultCode(Object resultCode) {
            this.resultCode = resultCode;
        }
    }
}
